<?php
jimport('joomla.application.module.helper');
$panel1 = JModuleHelper::getModules('position-1');
$panel2 = JModuleHelper::getModules('position-2');
$panel3 = JModuleHelper::getModules('position-3');
$panel4 = JModuleHelper::getModules('position-4');
$panel5 = JModuleHelper::getModules('position-5');
$attribs['style'] = 'xhtml';
?>
<div class="block topcontent panels">
    <div class="columnleft">
        <?php echo JModuleHelper::renderModule($panel1[0], array('style'=>'none')); ?>
    </div>
    <div class="columnleft">
        <?php echo JModuleHelper::renderModule($panel2[0], array('style'=>'none')); ?>
    </div>
    <div class="columnleft">
        <?php echo JModuleHelper::renderModule($panel3[0], array('style'=>'none')); ?>
    </div>
    <div class="columnleft">
        <?php echo JModuleHelper::renderModule($panel4[0], array('style'=>'none')); ?>
    </div>
    <div class="clear"></div>
</div>  
<div class="block botcontent panels">
    <?php echo JModuleHelper::renderModule($panel5[0], $attribs); ?>
</div>
